import Vue from "vue";
import DateFilter from "./date.Filter";
@FiltersVues({
  Filters: [DateFilter]
})
export default class FiltersVueIndex {}

export function FiltersVues(options: { Filters: Array<Function> }) {

  return (res)=>{

  }
}
export function filter(filterName: string) {
  return (target)=>{
    Vue.filter(filterName, target.prototype.transform.bind(target.prototype));
    return target;
  }
}

export interface FilterTransform  {
  transform(value: any, ...args: any[]): String;
}
